//
//  SRSelectDateView.h
//  SportRing
//
//  Created by icelee on 14-10-28.
//  Copyright (c) 2014年 HotOne. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LGBaseView.h"

typedef enum
{
    SELECTE_DATE_TYPE_DAY,
    SELECTE_DATE_TYPE_MONTH,
    SELECTE_DATE_TYPE_YEAR,
    SELECTE_DATE_TYPE_MONTH_DAY,
    SELECTE_DATE_TYPE_YEAR_MONTH_DAY,
    SELECTE_DATE_TYPE_NONE
    
}SELECTE_DATE_TYPE;

@class SRSelectDateView;

@protocol SRSelectDateViewDelegate <NSObject>

@optional
- (void)selectedDate:(SRSelectDateView *)srSelectDateView;

@end

@interface SRSelectDateView : LGBaseView

@property (nonatomic, assign)IBOutlet id<SRSelectDateViewDelegate> srSelectDelegate;

@property (nonatomic, copy)NSString *selectedDateString;

@property (nonatomic, strong)NSDate *selectedDate;

@property (nonatomic, strong)NSDate *maxSelectedDate;

@property (nonatomic, strong)NSDate *minSelectedDate;//未实现

@property (nonatomic, assign)SELECTE_DATE_TYPE dateType;


- (void)today;

@end
